﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReadList.aspx.cs" Inherits="InformationSystem.WebSite.Module.NoticeMgr.ReadList" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server">
        <Listeners>
            <DocumentReady Fn="callback()" />
        </Listeners>
    </ext:ResourceManager>
    <ext:GridPanel ID="GridPanel1" runat="server" Frame="true" StripeRows="true" Title="阅读记录"
        AutoExpandColumn="username" AnimCollapse="false" Icon="ApplicationViewColumns"
        TrackMouseOver="false" Width="580" Height="360">
        <Store>
            <ext:Store ID="readlistStore" runat="server" AutoLoad="true">
                <Reader>
                    <ext:JsonReader>
                        <Fields>                            
                            <ext:RecordField Name="userid" Mapping="UserID" Type="String" />
                            <ext:RecordField Name="username" Mapping="UserName" Type="String" />
                            <ext:RecordField Name="haveread" Mapping="HaveRead" Type="Boolean" />
                            <ext:RecordField Name="readtime" Mapping="ReadTime" Type="Date" />
                        </Fields>
                    </ext:JsonReader>
                </Reader>
            </ext:Store>
        </Store>
        <ColumnModel ID="ColumnModel1" runat="server">
            <Columns>
                <ext:Column ColumnID="userid" Header="编号" Width="90" DataIndex="userid" />
                <ext:Column ColumnID="username" Header="姓名" DataIndex="username" Width="300">                    
                </ext:Column>
                <ext:DateColumn ColumnID="readtime" Header="阅读时间" DataIndex="readtime" Width="210"
                    Format="yyyy-MM-dd HH:mm">
                </ext:DateColumn>
            </Columns>
        </ColumnModel>
    </ext:GridPanel>
    </form>
</body>
</html>
